package com.tricode.ile.training.task.sl275.lab7;

import java.util.ArrayList;

public class Bank {

    private static ArrayList<Customer> customers = new ArrayList<Customer>();
    private static int numOfCustomers;

    public static void addCustomer(String firstName, String lastName) {
        customers.add(new Customer(firstName,lastName));
    }

    public static int getNumOfCustomers() {
        return numOfCustomers;
    }

    public static Customer getCustomer (int index) {
        return customers.get(index);
    }
}
